package com.blacktry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blacktry.pojo.Book;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author blackTry
 * @since 2021-01-31
 */
public interface BookService extends IService<Book> {

    Page<Book> selectPage(Integer currentPage, Integer size);

    Page<Book> selectCanPage(Integer currentPage, Integer size);
}
